package ace.cmp.data.methodname.sql.mybatisplus.core.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author caspar
 * @date 2023/2/23 17:24
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface InjectMethodNameToSql {
  /**
   * 是否启用方法名解析sql
   * @return
   */
  boolean enable() default true;
}
